
#include "stdafx.h"
#include "WicDevelopRawNotificationCallback.h"

CWicDevelopRawNotificationCallback::CWicDevelopRawNotificationCallback()
{
    m_pIWICDevelopRawNotificationCallback = NULL;
}

CWicDevelopRawNotificationCallback::~CWicDevelopRawNotificationCallback()
{
    if(m_pIWICDevelopRawNotificationCallback)
    {
        m_pIWICDevelopRawNotificationCallback->Release();
    }
    m_pIWICDevelopRawNotificationCallback = NULL;
}

CWicDevelopRawNotificationCallback::CWicDevelopRawNotificationCallback(CWicDevelopRawNotificationCallback const & objDevelopRawNotificationCallback)
{
    m_pIWICDevelopRawNotificationCallback = objDevelopRawNotificationCallback.m_pIWICDevelopRawNotificationCallback;
    m_pIWICDevelopRawNotificationCallback->AddRef();
}

CWicDevelopRawNotificationCallback& CWicDevelopRawNotificationCallback::operator=(CWicDevelopRawNotificationCallback const & objDevelopRawNotificationCallback)
{
    if(m_pIWICDevelopRawNotificationCallback)
    {
        m_pIWICDevelopRawNotificationCallback->Release();
    }
    m_pIWICDevelopRawNotificationCallback = objDevelopRawNotificationCallback.m_pIWICDevelopRawNotificationCallback;
    m_pIWICDevelopRawNotificationCallback->AddRef();
    return *this;
}
